package com.sunxu.exercise3;

import javax.swing.*;
import java.awt.event.ActionListener;


/**
 * ${DESCRIPTION}
 *
 * @author Sun
 * @create 2017-08-01-17:55
 */
public class Application {
    public void init() {
        ActionListener listener = e -> {
            System.out.println(this.toString());
        };
        new Timer(1000, listener).start();
    }
}
